package com.chocus.core.service.solr;

import cn.itcast.common.page.Pagination;

public interface SolrService {
	/**
	 * sorl查询数据
	 * 
	 * @param keyWord
	 * @param pageNo
	 * @return
	 */
	public Pagination getPaginationBySolr(String keyWord, Integer pageNo, Long brandId, String price);

	/**
	 * 保存商品到solr
	 * 
	 * @param id
	 */
	public void saveProductToSolr(Long id);
}
